package com.sbl.bajw.mapper;

import java.util.HashMap;
import java.util.List;

import com.sbl.bajw.pc.model.UserGpsModel;
import com.sbl.bajw.pc.model.UserModel;

public interface UserDao {
	public UserModel getModel(String id);
	
	public UserModel getModelWithGpsInfo(String id);
	
	public UserModel login(HashMap<String, String> parm);
	
	public HashMap<String, Object> getUserModelApp(String id);
	
	public UserModel getUserModel(String id);
	
	public void insert(UserModel model);
	
	public void update(UserModel model);
	
	public String getId();
	
	public List<HashMap<String, Integer>> getPersonId(String code);
	
	public Integer getEquipmentId(String imei);
	
	public HashMap<String, Object> getCount();
	
	public UserModel getModelByName(String name);
	
	public void insertUserGps(UserGpsModel model);
	
	public List<HashMap<String, Object>> getHistoryPoition(HashMap<String, Object> parm);
	
	public int isUserThere(HashMap<String, String> parm);
	
	public List<HashMap<String, Object>> getModelList(HashMap<String, Object> parm);
	
	public List<HashMap<String, Object>> getLocalhostModelList(HashMap<String, Object> parm);
	
	public int getUserCount(HashMap<String, String> parm);
	
	public void updatePwd(HashMap<String, String> parm);
	
	public List<HashMap<String, Object>> getUserTeam(String id);
	
	public List<HashMap<String, Object>> getgroups(String id);
	
	public List<HashMap<String, Object>> getGroupUsers(String id);
	
	public List<HashMap<String, Object>> getUserGpsList();
	
	public HashMap<String, String> getJwtDeptTallgroup(String deptid);
	
	public List<HashMap<String, String>> getUserAppStatistics();
	
	public List<HashMap<String, String>> getModelsForMap(HashMap<String, String> parm);
	
}
